package com.example.redistest.mapper;
//
import com.example.redistest.entity.EleBaseAgencyEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author hujh
 */
@Repository
public interface AgencyRepository extends JpaRepository<EleBaseAgencyEntity,Long> {

    List<EleBaseAgencyEntity> findByTenantIdAndFiscalYear(String tenantId, String fiscalYear);
}

